package com.hethongviet.vendingmobi;

import com.hethongviet.library.network.ConstantNetwork;

public final class Constants extends ConstantNetwork
{
	public static final int LENGTH_MIN_PASSWORD = 6;
	public static final int LENGTH_MAX_PASSWORD = 10;

	public static final int LENGTH_MIN_NAME = 1;
	public static final int LENGTH_MAX_NAME = 10;

	public static final int LENGTH_MIN_NUMBER = 7;
	public static final int LENGTH_MAX_NUMBER = 13;

	public static final String SERVER_URL = "http://www.vendingmobi.com/vending9/";

	public static final String GET_BOX_INVENTORY = "GetBoxInventory";
	public static final String LOGIN = "Login";
	public static final String ADD_ACCOUNT = "AddAccount";

	public static final String RESULT_OK = "OK";
	public static final String RESULT_LOGIN_BUYER = "BUYER";
	public static final String RESULT_LOGIN_SALES_MAN = "SALESMAN";
	public static final String RESULT_LOGIN_NOT_EXIST = "ERROR";
	
	public static final String PERMISSION_ACCOUNT_CUSTOMER = "customer";
	public static final String PERMISSION_ACCOUNT_VENDOR = "vendor";
	public static final String PERMISSION_ACCOUNT_ADMIN = "admin";
	public static final String PERMISSION_ACCOUNT_OWNER = "owner";

	public static final String EXTRA_BOX_INVENTORY = "BOX_INVENTORY";
	public static final String EXTRA_ACCOUNT = "EXTRA_ACCOUNT";

}
